<?php /* Smarty version Smarty-3.1.18, created on 2015-12-04 11:23:20
         compiled from "/Applications/MAMP/htdocs/kobee/Admin/View/WxShare/share.html" */ ?>
<?php /*%%SmartyHeaderCode:123354970356610728780541-72792192%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '01027a7b6040360077abc4608340025f26477aa9' => 
    array (
      0 => '/Applications/MAMP/htdocs/kobee/Admin/View/WxShare/share.html',
      1 => 1446434830,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '123354970356610728780541-72792192',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    '_C' => 0,
    'info' => 0,
    'id' => 0,
    'action' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_5661072885ba40_66348524',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5661072885ba40_66348524')) {function content_5661072885ba40_66348524($_smarty_tpl) {?><!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_C']->value['hy_path'];?>
css/amazeui.min.css" />
		<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_C']->value['hy_path'];?>
css/hy.admin.css" />
	</head>

	<body>
		<div class="am-g">
			<?php echo $_smarty_tpl->getSubTemplate ('../Common/hy_header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

			<div class="am-u-md-8 am-u-end">
				<form class="am-form am-form-horizontal hy-js-form">
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label">分享标题</label>
						<div class="am-u-sm-9">
							<input type="text" name="share_title" value="<?php echo $_smarty_tpl->tpl_vars['info']->value['share_title'];?>
" placeholder="请输入分享标题">
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-intro" class="am-u-sm-3 am-form-label">分享描述</label>
						<div class="am-u-sm-9">
							<textarea class="" rows="5" name="share_desc" placeholder="请输入分享描述"><?php echo $_smarty_tpl->tpl_vars['info']->value['share_desc'];?>
</textarea>
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label">分享链接</label>
						<div class="am-u-sm-9">
							<input type="text" name="share_url" value="<?php echo $_smarty_tpl->tpl_vars['info']->value['share_url'];?>
" placeholder="http://">
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label">分享图片</label>
						<div class="am-u-sm-9">
							<div class="am-u-sm-8" style="padding-left: 0px;">
								<input type="text" name="share_logo" class="am-input-sm thumb" value="<?php echo $_smarty_tpl->tpl_vars['info']->value['share_logo'];?>
">
	
							</div>
							<div class="am-u-sm-2">
								<img id="hy-thumb"  style="height: 30px;" <?php if ($_smarty_tpl->tpl_vars['info']->value['share_logo']) {?>src="<?php echo $_smarty_tpl->tpl_vars['info']->value['share_logo'];?>
" <?php } else { ?> src="<?php echo $_smarty_tpl->tpl_vars['_C']->value['hy_path'];?>
images/logo2.png" <?php }?>>
							</div>
							<div class="am-u-sm-2 am-u-end">
								<button class="am-btn am-btn-primary am-btn-xs hy-js-uploadimg">上传</button>
							</div>
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label">分享标识</label>
						<div class="am-u-sm-9">
							<input type="text" name="share_code" value="<?php echo $_smarty_tpl->tpl_vars['info']->value['share_code'];?>
" placeholder="请输入唯一的英文标识">
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-intro" class="am-u-sm-3 am-form-label">备注</label>
						<div class="am-u-sm-9">
							<textarea class="" rows="5" name="share_msg" placeholder="请输入备注说明"><?php echo $_smarty_tpl->tpl_vars['info']->value['share_msg'];?>
</textarea>
						</div>
					</div>
					<div class="am-form-group">
						<div class="am-u-sm-9 am-u-sm-push-3">
							<input type="hidden" name="id" value="<?php echo $_smarty_tpl->tpl_vars['id']->value;?>
">
							<button type="button" class="am-btn am-btn-primary hy-js-submit">保存</button>
						</div>
					</div>
				</form>
			</div>
		</div>
		<?php echo $_smarty_tpl->getSubTemplate ('../Common/hy_footer.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

		<script type="text/javascript">
			hy_uploadimg('/share',{},function(result,_this){
		    	if(typeof(result[0])!='undefined')
		    	{
		        	_this.parent().parent().find('#hy-thumb').attr('src',result[0]);
		        	_this.parent().parent().find('input.thumb').val(result[0]).focus();
		       }
		    })
			hy_submit('index.php?g=admin&m=wxShare&a=<?php echo $_smarty_tpl->tpl_vars['action']->value;?>
');
		</script>
	</body>

</html><?php }} ?>
